@import '../../var';
page {
  background-color: #f7f7f7;
}

/* 项目表格 */
.table {
  position: relative;
  background: #ffffff;
  box-shadow: 0px 0px 10rpx 0px rgba(32, 76, 131, 0.12);
  border-radius: 20rpx;
  box-sizing: border-box;
  padding: 40rpx 0rpx 0rpx 20rpx;
}
.table-container {
  border: 1px solid #dbdbdb;
  border-bottom: none;
}
.tr {
  display: flex;
}

.tr-th {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fafafa;
}
.th {
  padding: 10rpx;
  border-bottom: 1px solid #dbdbdb;
  text-align: center;
  font-weight: bold;
  font-size: 24rpx;
  font-weight: bold;
  color: #000000;
  box-sizing: border-box;
}
.th-border {
  border-right: 1px solid #dbdbdb;
}
.th:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 99;
  background: #fafafa;
}
.th:nth-child(2) {
  position: sticky;
  left: 80rpx;
  z-index: 99;
  background: #fafafa;
}
.td {
  font-size: 24rpx;
  font-weight: 400;
  color: #666666;
  padding: 10rpx;
  border-bottom: 1px solid #dbdbdb;
  text-align: center;
  box-sizing: border-box;
}
.td-border {
  border-right: 1px solid #dbdbdb;
}

.td:nth-child(1) {
  position: sticky;
  left: 0;
  z-index: 80;
  background: #ffffff;
}

.td:nth-child(2) {
  position: sticky;
  left: 80rpx;
  z-index: 80;
  background: #ffffff;
}
.top_banner {
  width: 650rpx;
  height: 300rpx;
  .image {
    width: 650rpx;
    height: 300rpx;
  }
}
.header {
  padding: 30rpx 30rpx 20rpx;
  .swiperBox {
    width: 690rpx;
    height: 256rpx;
    .swiperItem {
      image {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.scroll-x {
  width: 100%;
  height: 80rpx;
  // 设置 white-space 属性为 nowrap，这会导致文本不换行，适合横向滚动的布局
  display: flex;
  flex-direction: row;
  margin: 0;
  padding: 0;
  padding-left: 0px;
  background-color: rgb(224, 224, 224);
  view {
    // 设置 display 属性为 inline-block，这会使元素以内联块级元素的方式显示，可以在同一行内显示多个元素
    display: inline-block;
    width: 144rpx;
    height: 80rpx;
    margin: 0;
    line-height: 80rpx;
    text-align: center;
  }
}
.nav {
  display: flex;
  width: 100%;
  padding: 20rpx 30rpx;
  background-color: #f7f7f7;
  z-index: 99;
  .navItem {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 40rpx;
    color: $info-color;
    font-size: 26rpx;
    &.active {
      color: $title-color;
      font-weight: 600;
      font-size: 30rpx;
    }
  }
}

.fixed {
  position: fixed;
}
/* 滑动菜单样式 */
.item-move {
  transition: transform 0.3s;
  transform: translateX(0);
}

.item-remove {
  transform: translateX(-100%);
}
.section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: column;
  padding: 0 30rpx 10rpx;
  .list0 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: 88rpx;
    margin: 10rpx 0rpx 2rpx;
    padding: 10rpx 35rpx 2rpx;
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx 16rpx;
    box-shadow: 0px 2rpx 3rpx 0rpx rgba(0, 0, 0, 0.09);
    &:nth-child(3n) {
      margin-right: 0;
    }
    .user {
      height: 70rpx;
      font-weight: 600;
      line-height: 26rpx;
      font-size: 28rpx;
      line-height: 70rpx;
    }
    .name {
      width: 100%;
      height: 70rpx;
      color: $title-color;
      font-weight: 600;
      font-size: 28rpx;
      line-height: 70rpx;
      text-align: center;
    }
    .title {
      width: 100%;
      height: 70rpx;
      color: #000;
      font-size: 24rpx;
      font-weight: bold;
      line-height: 70rpx;
      text-align: right;
    }
  }
  .list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: 148rpx;
    margin: 0 30rpx 30rpx 0;
    padding: 30rpx 35rpx 2rpx;
    background: rgba(255, 255, 255, 1);
    border-radius: 16rpx;
    box-shadow: 0px 2rpx 3rpx 0rpx rgba(0, 0, 0, 0.09);
    &:nth-child(3n) {
      margin-right: 0;
    }
    .user {
      line-height: 80rpx;
      text-align: center;
      height: 80rpx;
    }
    .name {
      height: 80rpx;
      color: $title-color;
      font-weight: 600;
      font-size: 28rpx;
      line-height: 80rpx;
      text-align: center;
    }
    .title {
      width: 100%;
      height: 80rpx;
      color: rgb(156, 9, 9);
      font-size: 24rpx;
      font-weight: bold;
      line-height: 80rpx;
      text-align: center;
    }
    .title_right {
      width: 100%;
      height: 80rpx;
      color: rgb(156, 9, 9);
      font-size: 24rpx;
      font-weight: bold;
      line-height: 80rpx;
      text-align: right;
    }
    .intro {
      width: 100%;
      height: 80rpx;
      color: rgb(32, 30, 30);
      font-size: 24rpx;
      line-height: 50rpx;
      text-align: left;
    }
    .btn {
      span {
        font-size: 28rpx;
      }
      display: flex;
      align-items: center;
      justify-content: center;
      width: 130rpx;
      height: 44rpx;
      font-size: 24rpx;
      border: 2rpx solid $primary-color;
      border-radius: 22rpx;
      &.follower {
        color: $info-color;
        border-color: $info-color;
      }
    }
  }
}
.current_class {
  background-color: gold;
}
.tips {
  margin-top: 100rpx;
  width: 100%;
  text-align: center;
  color: #cccccc;
}
